This zip also contains the program: "VB2010 Gal MOND".
The emphasis in this document is about Parallel Programming.
For more general information about the program "VB2010 Gal MOND PP" select: VB2010 Gal MOND operation
The program "VB2010 Gal MOND" is based around the question: MOND - What is involved
|
Specific in order to handle Parallel Programming the Control Display uses two parameters:N Proc and PP Trace. Also the parameter Target is new.
|
|
The Display form shows the following 4 parameters: Time , Angle , Cycle and Display mode
|
|
Text |
|
The Monitor Form shows for each of the 4 processors in use the following parameters: State 1, State 2, sync (two values) and star cnt.
|
test | #ring | # star | MOND | Target | methode | #pr = 0 | #pr = 1 | #pr = 2 | #pr = 3 | #pr = 4 |
1 | 10 | 50 | Off | 50 | 1 | 25.8 | 36.5 | 21.7 | 20.6 | 19.6 |
2 | 10 | 50 | On | 50 | 1 | 32.7 | 42.9 | 26.8 | 24.6 | 23.4 |
3 | 10 | 50 | Off | 20 | 2 | 79.3 | 88.2 | 56.1 | 55.8 | 51.7 |
4 | 10 | 50 | On | 20 | 2 | 88.4 | 97.6 | 61.7 | 59.5 | 56.9 |
5 | 20 | 50 | Off | 25 | 1 | 50.7 | 69.6 | 43.1 | 40.8 | 39.8 |
6 | 20 | 50 | On | 25 | 1 | 62.8 | 79.9 | 49,2 | 48,2 | 45.8 |
7 | 20 | 50 | Off | 10 | 2 | 156.3175.7 | 109.9 | 105.9 | 100.4 |
|
8 | 20 | 50 | On | 10 | 2 | 176.2 | 195 | 121.3 | 119.9 | 110.6 |
test | #ring | # star | MOND | Target | methode | #pr = 0 | #pr = 1 |
1 | 10 | 50 | Off | 50 | 1 | 32.5 | 33.0 |
2 | 10 | 50 | On | 50 | 1 | 39.4 | 39.9 |
3 | 10 | 50 | Off | 20 | 2 | 87.2 | 89.4 |
4 | 10 | 50 | On | 20 | 2 | 100.8 | 100.5 |
5 | 20 | 50 | Off | 25 | 1 | 58.0 | 57.8 |
6 | 20 | 50 | On | 25 | 1 | 71.6 | 70.3 |
7 | 20 | 50 | Off | 10 | 2 | 158.3163.0 |
|
8 | 20 | 50 | On | 10 | 2 | 184.5 | 184.9 |
Main |--->MainPP | |------Assign Backgroundworker1 | |-----Proc2 | | |---------------------StartSt-------------->| | |<--------------------ActiveSt--------------| | |------Methode_2PP |---Methode_2PP | | |-------Synchronisation | |--Synchronistaion | |<------------------FinishedSt--------------| | | |-----Cancel | | |--------------------CancelSt-------------->| | |<--------------------EndSt-----------------| | Master pp=1 Slave pp=2,3 and 4 |
There exist also a subroutine "Proc1" for Newton's Law
The subroutine "Synchronisation" uses two communication arrays: Sync0 and Sync1
Back to my home page: Contents of This Document